/*
 * ControlDrawPane.h
 *
 *  Created on: 05.07.2011
 *      Author: sili
 */

#ifndef CONTROLDRAWPANE_H_
#define CONTROLDRAWPANE_H_

#include "DrawPane.h"
#include "Controller.h"

class ControlDrawPane : public DrawPane{

private:
	// vector<AALArea *> controlElementAreas;
	AALArea controlElementsArea[4];
	void createControlAreas();

public:
	// used for the true color osd
	ControlDrawPane(cPixmap * _pixmap, AALArea * _area, uint32_t _colorBg);
	// used for the not true color osd
	ControlDrawPane(const int _bpp, AALArea * _area, uint32_t _colorBg);
	virtual ~ControlDrawPane();

	void drawControl(int _index, string _controlName, tColor _colorFg, tColor _colorBg, const cFont * _font, int _alignment = taDefault);
};
#endif /* CONTROLDRAWPANE_H_ */
